channel<T>
channel channel<T>
Methods
close
pub fn close(self)
Closes the channel.
close
pub fn close(self)
Closes the channel.
Closes the channel.
Checks if the channel is closed.
Checks if the channel is closed.
Checks if the channel is closed.
Receives a value from the channel.
Receives a value from the channel.
Receives a value from the channel.
Sends a value to the channel.
Sends a value to the channel.
Sends a value to the channel.
Tries to receive a value from the channel.
Tries to receive a value from the channel.
Tries to receive a value from the channel.
Returns T
if a value was received, nil
if the channel is empty.